//tinyMCEPopup.requireLangPack();

var ExampleDialog = {
	init : function() {
	},

	insert : function(f,t) {
		// Insert the contents from the input into the document
		//alert(f);
		tinyMCEPopup.editor.execCommand('mceInsertContent', false, 
		'<img src="'+f+'" title="'+t+'" alt="'+t+'"/>');
		tinyMCEPopup.close();
	}
};

tinyMCEPopup.onInit.add(ExampleDialog.init, ExampleDialog);
